		<!-- Sidebar -->
		<div id="sidebar">
			
			<!-- login -->
			<div class="box login-side">
				<h2 class="title-box">Login<span></span></h2>
                <?php 
                if($loginAkses=="")
                {
                ?>
                <!-- form for login member -->
				<div class="box-content">
					<form name="frm_login" id="frm_login" action="" method="post">
						
						<label id="uname">NIM</label>
            			<input name="u_name" id="u_name" type="text" class="fieldbox" />
						
						<label>Password</label>
						<input name="u_pass" id="u_pass" type="password" class="fieldbox" />
                        
                        <label>Login As</label>
						<select name="u_kat" id="u_kat" class="fieldbox boxstyle-15">
                        	<option value="Siswa">Mahasiswa</option>
                        	<option value="Guru">Dosen</option>
                        </select>
                        <input type="hidden" name="u_init" id="u_init" value="login">
						<input type="submit" class="login-submit" value="Login" />
                        <div class="cl">&nbsp;</div>
<!-- 
                        <p><a class="link-2" href="#" class="bul">Lupa Password?</a ></p>
-->	
					</form>
				</div>
	                            <script type="text/javascript">
		                            $("#u_kat").change(function(){
		                                if($(this).val()=="Siswa")
		                                {
		                                    $("#uname").html("NIS");
		                                }
		                                else
		                                {
		                                    $("#uname").html("NIK");
		                                }
		                            });
	                            </script>
                <!-- end form for login member -->
            <?php 
            }
            elseif($loginAkses=="siswa")
            {
            	if(count($loginInfo)>0)
            	{
            ?>
                <!-- form after login member -->
                <div class="box-content">
                    <div id="login-info">
                        <div class="h3"><strong>.: User Information</strong></div>
                        <div class="cl-8">&nbsp;</div>
                        <table>
                        <tr valign="top">
                            <td width="25%"><img src="<?php echo $loginInfo[0]['photo']?>" /></td>
                            <td width="3%">&nbsp;</td>
                            <td width="72%">
                                <div class="h2-info idcolor"><?php echo $loginInfo[0]['nim']?></div>
                                <div class="h2-info2"><strong><?php echo $loginInfo[0]['nama']?></strong></div>
<!-- 
                                <div class="h2-info2">XII IPA</div>
-->                                
                            </td>
                        </tr>
                        </table>
                        <div class="cl">&nbsp;</div>
                        <div class="id-opt"><a class="link-2" href="<?php echo $baseUrlSave?>siswa">Menu Utama</a></div>
                        <span>|</span><div class="id-opt"><a class="link-2" href="<?php echo $baseUrlSave?>logout">Logout</a></div>                  
                    </div>               
                </div>
                <!-- end form after login member -->
	        <?php 
            	}
            }
            elseif($loginAkses=="dosen")
            {
            	if(count($loginInfo)>0)
            	{
            ?>
                <!-- form after login member -->
                <div class="box-content">
                    <div id="login-info">
                        <div class="h3"><strong>.: User Information</strong></div>
                        <div class="cl-8">&nbsp;</div>
                        <table>
                        <tr valign="top">
                            <td width="25%"><img src="<?php echo $loginInfo[0]['photo']?>" /></td>
                            <td width="3%">&nbsp;</td>
                            <td width="72%">
                                <div class="h2-info idcolor"><?php echo $loginInfo[0]['kode_guru']?></div>
                                <div class="h2-info2"><strong><?php echo $loginInfo[0]['nama']?></strong></div>
<!-- 
                                <div class="h2-info2">XII IPA</div>
-->
                            </td>
                        </tr>
                        </table>
                        <div class="cl">&nbsp;</div>
                        <div class="id-opt"><a class="link-2" href="<?php echo $baseUrlSave?>dosen">Menu Utama</a></div>
                        <span>|</span><div class="id-opt"><a class="link-2" href="<?php echo $baseUrlSave?>logout">Logout</a></div>                  
                    </div>               
                </div>
                <!-- end form after login member -->
	        <?php 
            	}
            }
            ?>          
			</div>
			<!-- End login -->
            
			<!-- support -->
			<div class="box ad">
				<h2 class="title-box">Support <strong>Online</strong><span></span></h2>
				<div id="support-online" >
                	<a href="<?php echo $baseUrlSave?>support">&nbsp;</a>
                </div>
			</div>
			<!-- End support -->             
			
			<!-- Clink news -->
			<div class="box categories">
				<h2 class="title-box">Berita <strong>Kampus</strong><span></span></h2>
				<div class="box-content">
    				<div class="box-content box-center-auto">
                    <div class="">
    					<?php 
    					foreach($berita as $b)
    					{
    					?>
                        <div>
                            <div class="date bul"> <?php echo $b['tanggal'] ?></div>
                            <div class="headline">
                            <a href="<?php echo $baseUrlSave."detail/".$b['id_content']."/".$b['judul_html'] ?>"> 
                            <?php echo $b['judul'] ?></a></div>
                            <div class="cl-3">&nbsp;</div> 
                        </div>
                        <?php 
    					}
    					?>
                        </div>
                  <div class="cl-20">&nbsp;</div>      
                  <div class="box-center-bot"><a class="icon" href="<?php echo $baseUrlSave?>berita">Arsip Berita</a></div>
                  <div class="cl-3">&nbsp;</div> 	
                  </div>
			</div>
            </div>
			<!-- End link news -->
            
			<!-- Clink news -->
			<div class="box categories">
				<h2 class="title-box">Info <strong>Kampus</strong><span></span></h2>
				<div class="box-content">
    				<div class="box-content box-center-auto">
                    <div class="">
    					<?php 
    					foreach($info as $b)
    					{
    					?>
                        <div>
                            <div class="date bul"> <?php echo $b['tanggal'] ?></div>
                            <div class="headline">
                            <a href="<?php echo $baseUrlSave."detail/".$b['id_content']."/".$b['judul_html'] ?>"> 
                            <?php echo $b['judul'] ?></a></div>
                            <div class="cl-3">&nbsp;</div> 
                        </div>
                        <?php 
    					}
    					?>    				
                        </div>
                  <div class="cl-20">&nbsp;</div>      
                  <div class="box-center-bot"><a class="icon" href="<?php echo $baseUrlSave?>info">Arsip Informasi</a></div>
                  <div class="cl-3">&nbsp;</div> 	
                  </div>
			</div>
            </div>
			<!-- End link news -->
            
			<!-- Banner-->
            <div class="box categories">
				  <h2 class="title-box">Banner <strong>Kampus</strong><span></span></h2>
                  <div class="box-half">
    				<div class="box-content box-center-auto">    
    					<?php 
    					foreach($banner_sekolah as $bs)
    					{
    					?>                
              			<a href="<?php echo $bs['url']?>">
              			<img class="box-img img-banner-small-1" src="<?php echo $bs['image']?>" alt="<?php echo $bs['name']?>" />
              			</a>
              			<?php 
    					}
              			?>
     				</div>
    			</div>    
            </div>   
      		<!-- End Banner-->                   	
            
			<!-- Banner-->
				  <div class="box box-half">
    				<div class="box-content box-center-auto">                    
<!-- 
    				<?php 
                    if(isset($banner_inolabs['data']))
                       	foreach($banner_inolabs['data'] as $bs)
                      	{
                    ?>
               			<a href="<?php echo $bs['url']?>">
             			<img class="box-img img-banner-small-1" src="<?php echo $bs['image']?>" alt="<?php echo $bs['judul']?>" />
              			</a>
              		<?php 
    				}
              		?>
 -->
              		</div>
    			</div>       
      		<!-- End Banner-->     		            
      			
		</div>
		<!-- End Sidebar -->
